package com.cai.kcsj.mapper;

import com.cai.kcsj.entity.Goods;
import com.cai.kcsj.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/4 09 : 16
 * @package：com.cai.kcsj.dao
 */
public interface GoodsMapper {
    List<Goods> selectGoodsList(@Param("current") Integer current);
    Goods selectGoodsById(@Param("id") Integer id);
    void updateGoods(@Param("goods") Goods goods);
    void insertGoods(@Param("goods") Goods goods);
    int getGoodsCount();
}
